home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4261 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: ufrima.imag.fr!usenet
  2. From: Emmanuel DARDAINE <edardain@ufrima.imag.fr>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: BC++ 4.5 OWL
  5. Date: 29 Jan 1996 11:56:26 GMT
  6. Organization: UFRIMA, IMAG, Universite Joseph Fourier
  7. Message-ID: <4eicla$lv6@ufrima.imag.fr>
  8. References: <310D18B1.40A2@setsk0.rpi.ses.alcatel.es>
  9. NNTP-Posting-Host: boole.imag.fr
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4m)
  14. X-URL: news:310D18B1.40A2@setsk0.rpi.ses.alcatel.es
  15.  
  16. Hi,
  17.  
  18. I developed a statistic application with Borland C++ 4.02 last year, and I got
  19. the same problem. EnableMenuItem seems to not respond. I looked at the
  20. examples, but didn't understood the way they make menu items enabled or
  21. disabled.
  22.  
  23. I found one solution (certainly not the best or the more effective...). As you
  24. suggered, I used some particular functions, called through response tables. To
  25. do so, I declared one variable for each menu item I wanted to enable or
  26. disable. You must then pilot all the variables as you want the menu items to
  27. appear. Each time you click on the menu, the functions TCommandEnabler (I don't
  28. remember exactly if they are called this way, and I'm not working on my own
  29. computer at this time) are called.
  30.  
  31. If you still have problems, or if you don't understand what I mean, sned me a
  32. mail and I'll send you part of my program.
  33.  
  34.  
  35.                 Emmanuel DARDAINE
  36.                 edardain@boole.imag.fr
  37.  
  38.